<template>
  <el-card>
    <template #header>
      <div>钉钉登录</div>
    </template>
    <div id="dingding-login" />
  </el-card>
</template>

<script setup>
  import { onMounted } from "vue";
  var ddObj;

  // onMounted(() => {
  //   ddObj = window.DDLogin({
  //     id: "dingding-login",
  //     style: "border: none;background-color: rgba(255,255,255,0.01) ",
  //     goto: URL,
  //     width: "100%",
  //     height: "300px",
  //   });
  // });
</script>

<style lang="scss" scoped></style>
